/**
 * 招采管理模块 http 请求
 */
import http from '@/utils/request'

export const startProcess = (data) => {
  return http.get('queryPostRecordByInfo', data)
}

export const add = (data) => {
  return http.post('/api/erp/hr/resign/erpHrEmployeeResignBill/add', data)
}
export const edit = (data) => {
  return http.put('/api/erp/hr/resign/erpHrEmployeeResignBill/edit', data)
}

export const info = (data) => {
  return http.get('/api/erp/hr/resign/erpHrEmployeeResignBill/queryTempData', data)
}

export const queryEmployeeById = (data) => {
  return http.get('/api/erp/files/employee/erpEmployeeFile/queryPageById', data)
}

export const queryPostRecordByInfo = (data) => {
  return http.get('/api/erp/files/employee/erpEmployeePostChangeRecord/queryPostRecordByInfo', data)
}

export const queryInductionByEmployeeId = (data) => {
  return http.get('/api/erp/files/employee/erpEmployeeFile/queryPageById', data)
}

export const queryContractByEmployeeId = (data) => {
  return http.get('/api/erp/hr/contract/erpHrEmployeeContract/queryByEmployeeId', data)
}
// 子表信息
export const erpEmployeeTrainingList = (data) => {
  return http.get('/api/erp/files/employee/erpEmployeeTraining/list', data)
}
